﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using MaxStudio.Concrete.DBUtility;
using MaxStudio.Concrete.Server.Dao;

namespace MaxStudio.Concrete.Server.Interface
{
    interface IPumper
    {
        OperationResult<List<tb_Pumper>> GetAllPumper();
        OperationResult<List<tb_Pumper>> GetPumperBySalesOrderId(int salesOrderId);
        OperationResult<tb_Pumper> GetPumperById(int id);
        OperationResult<tb_Pumper> CreatePumper(tb_Pumper entity);
        OperationResult<tb_Pumper> ModifyPumper(tb_Pumper entity);
        OperationResult<tb_Pumper> DeletePumper(tb_Pumper entity);
    }
}
